<div class="table-margin">
	<div class="table-header">
		<table class="table table-bordered table-header">
			<thead>
				<tr>
					<td class="w5 text-center">
						<input type="checkbox"
							   ng-model="master" 
							   ng-mousedown="getDataID()"
							   ng-click="selectAll(master, tabVal)"
							   >
				    </td>
					<td class="w5 text-center">序号</td>
					<td class="w20 text-center">权限编码</td>
					<td class="w20 text-center">权限名称</td>
					<td class="w10 text-center">启用/禁用</td>
					<td class="w10 text-left">操作</td>
				</tr>
			</thead>
		</table>	
	</div>	
	<div class="table-body">
		<table class="table table-bordered table-header">	
			<tbody>
				<tr ng-repeat="val in tabVal |orderBy:b+a | filter:privilege_search" ng-class="{'active':$index%2!=0}">
					<td class="w5 text-center">
						<input type="checkbox"
							   ng-checked="master" 
							   ng-mousedown="getDataID()"
							   ng-click="select(val,bool)" 
							   ng-model="bool"
							   >
					</td>
					<td class="w5 text-center">{{ $index+1 }}</td>
					<td class="w20 text-center">{{ val.operationCode }}</td>
					<td class="w20 text-center">{{ val.operationName }}</td>
					<td class="w10 text-center">
					  <strong class="text-success"	ng-show="val.enable==1">启用</strong> 
					  <strong class="text-danger"   ng-show="val.enable==0">禁用</strong>
					</td>
					<td class="w10 text-center icon-td">
	                     <span class="btn-i" ng-click="details($index)" data-toggle="modal" data-target="#details">
	                		<img width="14px" src="../images/right-product/view.png">
	                	</span>
	                	<span class="btn-i"  ng-click="edit($index)" data-toggle="modal" data-target="#edit">
	                		<img width="14px" src="../images/right-product/edit.png">
	                	</span>
					</td>
				</tr>
				<tr>
					<td colspan="12" class="text-center" ng-hide="isNoData">无相关信息</td>
				</tr>
			</tbody>
		</table>
	</div>	
</div>